/******************************************************************************
 * FileName:    gwin_global_config.h
 * Desc:        参数配置
 *
 *
 * Author:      Lin
 * Notes:
 *
 ******************************************************************************/

#ifndef __GWIN_GLOBAL_CFG_H__
#define __GWIN_GLOBAL_CFG_H__


/*-------------------------- Includes ---------------------------------------*/
#include "gwin_global_data.h"


/*-------------------------- Macro Definitions ------------------------------*/

/*-------------------------- Type Declarations ------------------------------*/

/*-------------------------- Global Variables -------------------------------*/

/*-------------------------- Local Variables --------------------------------*/

/*-------------------------- Functions Declarations -------------------------*/

/*-------------------------- Functions Definitions --------------------------*/
void gwin_set_timezone(int32_t value);
void gwin_set_utc_time(uint32_t value);
void gwin_set_weather(uint32_t value);
void gwin_set_network_provisioned(uint8_t value);
void gwin_set_ble_connect(uint8_t value);
void gwin_set_ota_state(uint8_t value);
void gwin_set_network_timeout(uint32_t value);
void gwin_set_model_pid(uint32_t value);
void gwin_set_spec_security(uint32_t value);
void gwin_set_spec(uint32_t value);
void gwin_set_spec_save(uint32_t value);

void gwin_set_m_config_io_oob_qr_code_out(uint8_t enable_qr_code_out);




// 保证主任务优先级最高！！！保证低优先级任务调用！！！否则 gwin_main_cfg_get 会有问题！！！
/**
 * @brief 获取时区
 */
int8_t gwin_get_timezone(void);
uint32_t gwin_get_utc_time(void);
uint16_t gwin_get_weather(void);
uint8_t gwin_get_system_state(void);
uint32_t gwin_get_network_timeout(void);
void gwin_get_model_pid(uint32_t value);
void gwin_get_mac_addr(uint32_t value);
void gwin_get_spec(uint32_t value);


#endif // __GWIN_GLOBAL_CFG_H__


/*-------------------------- END OF FILE ------------------------------------*/

